package cn.yusei.teamTribe.spider;

import java.io.IOException;
import java.text.ParseException;

import cn.yusei.teamTribe.entity.Student;
import cn.yusei.teamTribe.entity.ValidateCode;
import cn.yusei.teamTribe.spider.exception.AccessException;
import cn.yusei.teamTribe.spider.exception.UnknownException;
import cn.yusei.teamTribe.spider.exception.ValidateCodeErrorException;

public interface Spider {

	ValidateCode getValidateCode() throws IOException;
	
	Student getStudent(String username, String password, String validateCode, String sessionId)
			throws IOException, ParseException, AccessException, ValidateCodeErrorException, UnknownException;
	
}
